package com.yonyou.pmclouds.projecttype.rmiitf;

import com.yonyou.pmclouds.basecom.exception.BusinessException;
import com.yonyou.pmclouds.projecttype.entity.ProjectTypeVO;

/**
 * 项目类型维护接口
 */
public interface ProjectTypeMaintain {

    ProjectTypeVO insert(ProjectTypeVO projectTypeVO) throws BusinessException;

    String delete(String pkProjectType, String changeFlag) throws BusinessException;

    ProjectTypeVO update(ProjectTypeVO projectTypeVO) throws BusinessException;

    /**
     * 启用
     */
    ProjectTypeVO enable(ProjectTypeVO projectTypeVO) throws BusinessException;
    /**
     * 停用
     */
    ProjectTypeVO[] disEnable(ProjectTypeVO projectTypeVO) throws BusinessException;
}
